package com.freemalll.merchant.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.freemalll.merchant.domain.dto.MerInstallmentInfoCompetitiveDto;
import com.freemalll.merchant.domain.entity.MerInstallmentInfoCompetitive;

import java.util.List;

/**
 * 服务层。
 *
 * @author songshixiong
 * @since 2025-05-26
 */
public interface MerInstallmentInfoCompetitiveService extends IService<MerInstallmentInfoCompetitive> {

    /**
     * 批量插入
     *
     * @param competitiveList
     * @param installmentId
     */
    void batchInsert(List<MerInstallmentInfoCompetitiveDto> competitiveList, String installmentId);

    /**
     * 根据id查询
     *
     * @param merId
     * @return
     */
    List<MerInstallmentInfoCompetitiveDto> listByInstallmentId(String merId);
}
